package com.example.child_protection.service;

import com.example.child_protection.dto.request.SimpleIdRequestDTO;
import com.example.child_protection.dto.request.find.CheckCodeRequestDTO;
import com.example.child_protection.dto.request.find.CkeckUserNameRequestDTO;
import com.example.child_protection.dto.request.find.SystemMenuButtonRequestDTO;
import com.example.child_protection.dto.response.CheckCodeResponseDTO;
import com.example.child_protection.dto.response.SystemMenuButtonListResponseDTO;
import com.example.child_protection.dto.response.SystemMenuButtonResponseDTO;
import org.springframework.stereotype.Service;

/**
 * 菜单按钮查询service
 * @date 2018-11-2
 * @author Biz
 */
@Service
public interface SystemMenuButtonQueryService {

    /**
     * id查询
     * @param requestDTO
     * @return
     */
    public SystemMenuButtonResponseDTO findId(SimpleIdRequestDTO requestDTO);

    /**
     * 列表查询
     * @param requestDTO
     * @return
     */
    public SystemMenuButtonListResponseDTO findList(SystemMenuButtonRequestDTO requestDTO);

    /**
     * 检测CODE是否重复
     * @param requestDTO
     * @return
     */
    public CheckCodeResponseDTO checkCode(CheckCodeRequestDTO requestDTO);

}
